﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" %>

<%@ Register Assembly="PeekEditor" Namespace="PeekEditor" TagPrefix="PeekEditor" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../styles/edit.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../js/jquery.query.js" type="text/javascript"></script>
    <script src="../js/jquery.validate.min.js" type="text/javascript"></script>
    <script src="../js/galleria-1.2.5.min.js" type="text/javascript"></script>
    <link href="../styles/basic.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery.modal.js" type="text/javascript"></script>
    <link href="../../Styles/jquery.validate.css" rel="stylesheet" type="text/css" />
    <script src="../js/tourisminfoedit.js" type="text/javascript"></script>
    <script src="../js/blockUI.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" method="post" runat="server" action="../AjaxHandler/TourismInfoEditHandler.ashx?action=Edit">
    <div>
        <ul id="tabs">
            <li id="tourinfo">景点信息</li>
            <li id="mapInfo">地图信息</li>
            <li id="ticketinfo">门票信息</li>
            <li id="specialrecommand">特别推荐</li>
            <div class="tourinfo">
                <table>
                    <tr>
                        <td class="tdtitle">
                            景点名称：
                        </td>
                        <td colspan="2">
                            <input id="title" name="title" type="text" size="100" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            副标题：
                        </td>
                        <td colspan="2">
                            <input id="subtitle" name="subtitle" type="text" size="100" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            关键字：
                        </td>
                        <td colspan="2">
                            <input type="text" id="tags" name="tags" size="90" maxlength="100" /><input type="button"
                                value="选择.." id="btnkeywords" />
                            <div id="keywordscontainer" style="position: absolute; z-index: 1000; top: 1px; width: 100%;
                                background: black; filter: Alpha(opacity=100); opacity: 1; display: none;">
                                <div id="selkeywords" style="width: 600px; background: white; margin: 0px auto; height: 600px;
                                    filter: Alpha(opacity=100); opacity: 1; vertical-align: middle;">
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            地区：
                        </td>
                        <td colspan="2">
                            国家
                            <select id="country" name="country">
                            </select>
                            省<select id="province" name="province" disabled="disabled"></select>
                            市
                            <select id="city" name="city" disabled="disabled">
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            景点类型：
                        </td>
                        <td colspan="2">
                            <select id="tourtype" name="tourtype" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            摘要：
                        </td>
                        <td colspan="2">
                            <PeekEditor:CKEditorControl ID="remark" runat="server" Width="700" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            描述：
                        </td>
                        <td colspan="2">
                            <PeekEditor:CKEditorControl ID="desc" runat="server" Width="700" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            是否推荐：
                        </td>
                        <td colspan="2">
                            <input type="radio" id="rdoYes" name="isSpecial" value="true" /><label for="rdoYes">是</label><input
                                type="radio" id="rdoNo" name="isSpecial" value="false" checked="checked" /><label
                                    for="rdoNo">否</label>
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="3" class="tdtitle">
                            图片：
                        </td>
                        <td style="width: 200px;">
                            普通图片<input id="filename" name="filename" type="file" />
                        </td>
                        <td rowspan="3">
                            <input type="button" value="上传" id="btnsubmitfile" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            缩略图<input id="thumbnailsname" name="thumbnailsname" type="file" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            预览图<input id="previewname" name="previewname" type="file" />
                        </td>
                    </tr>
                    <tr class="tdtitle">
                        <td>
                            预览：
                        </td>
                        <td colspan="2">
                            <div id="imgbroswer" style="height: 320px;">
                            </div>
                            <div id="previewimg" style="display: none;">
                            </div>
                            <span id="iscoverspan" style="position: absolute; z-index: 1000; color: White; display: none;">
                                封面<input type="checkbox" value="" name="iscover" id="iscover" /></span>
                        </td>
                    </tr>
                </table>
                <input type="hidden" id="hidfilename" name="hidfilename" />
                <input type="hidden" id="hidthumbnailsname" name="hidthumbnailsname" />
                <input type="hidden" id="hidpreviewname" name="hidpreviewname" />
                <input type="hidden" id="hidcountryregion" name="hidcountryregion" />
            </div>
            <div class="mapInfo">
                <table>
                    <tr>
                        <td class="tdtitle">
                            标题：
                        </td>
                        <td>
                            <input id="maptitle" name="maptitle" type="text" size="100" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            描述：
                        </td>
                        <td>
                            <PeekEditor:CKEditorControl ID="mapdesc" runat="server" Width="800" />
                        </td>
                    </tr>
                    <tr>
                        <td class="tdtitle">
                            地图：
                        </td>
                        <td>
                            <PeekEditor:CKEditorControl ID="map" runat="server" Width="800" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="ticketinfo">
                <table id="ticket-container">
                    <tr>
                        <td id="dancheng" class="tab-ticket">
                            单程票
                        </td>
                        <td rowspan="2">
                            <table class="dancheng">
                                <%-- <tr>
                                    <td class="tdtitle">
                                        价格：
                                    </td>
                                    <td colspan="2">
                                        <input id="pricedan" name="pricedan" type="text" size="20" />(请用数字表示。)
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdtitle">
                                        单位：
                                    </td>
                                    <td>
                                        <input type="text" id="priceunitdan" name="priceunitdan" size="20" value="元/人次" />（如：元/人次，$/人次
                                        等等）
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdtitle">
                                        票数：
                                    </td>
                                    <td>
                                        <input type="text" id="seatdan" name="seatdan" size="20" />(请用数字表示。)
                                    </td>
                                </tr>--%>
                                <tr>
                                    <td>
                                        <PeekEditor:CKEditorControl ID="ticketdan" runat="server" Width="800" />
                                    </td>
                                </tr>
                            </table>
                            <table class="wangfan ">
                                <tr>
                                    <td>
                                        <PeekEditor:CKEditorControl ID="ticketwangfan" runat="server" Width="800" />
                                    </td>
                                </tr>
                                <%-- <tr>
                                    <td class="tdtitle">
                                        价格：
                                    </td>
                                    <td colspan="2">
                                        <input id="pricewangfan" name="pricewangfan" type="text" size="20" />(请用数字表示。)
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdtitle">
                                        单位：
                                    </td>
                                    <td>
                                        <input type="text" id="priceunitwangfan" name="priceunitwangfan" size="20" value="元/人次" />（如：元/人次，$/人次
                                        等等）
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdtitle">
                                        票数：
                                    </td>
                                    <td>
                                        <input type="text" id="seatwangfan" name="seatwangfan" size="20" />(请用数字表示。)
                                    </td>
                                </tr>--%>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td id="wangfan" class="tab-ticket">
                            往 返
                        </td>
                    </tr>
                </table>
            </div>
            <div class="specialrecommand">
                <table>
                    <tr>
                        <td class="tdtitle">
                            特别推荐：
                        </td>
                        <td>
                            <PeekEditor:CKEditorControl ID="recommand" runat="server" Width="800" />
                        </td>
                    </tr>
                </table>
            </div>
        </ul>
        <div style="width: 300px; margin: 0px auto; display: block;">
            <input type="submit" value="发 布" style="margin: 0px auto; display: inline-block;
                float: left;" /><input type="button" id="btn_Back" value="返 回" onclick="javascript:history.back();"
                    style="display: block; float: left;" /></div>
    </div>
    <input id="hidCode" name="hidCode" type="hidden" value="-1" />
    </form>
</body>
</html>
